﻿<!--#include file="Inc/easp/easp.asp"-->
<!--#include file="Inc/conn.asp"-->
<!--#include file="inc/checklogin.asp"-->
<!--#include file="inc/easyide.asp"-->
<% CheckLogin("index.asp") %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>
	<%
	dim titleName
	if Session("Authority")<>"0" then
	  dim rswel
	  set rswel = Easp.db.GetRecordBySql("SELECT * FROM [Group] WHERE ID=" & Session("GID"))
	  if not Easp.IsN(rswel) then
		  titleName = rswel("GroupName")
	  Else
		  titleName = "IPCC"
    end if
    Easp.db.C(rswel)
  else
  	titleName = "IPCC"
  end if
  Easp.wc "Welcome to " & titleName
	%>
</title>
<link rel="stylesheet" type="text/css" href="css/theme.css" />
<link rel="stylesheet" type="text/css" href="css/style.css" />
<script type="text/javascript">
	var StyleFile = "theme" + document.cookie.charAt(6) + ".css";
	document.writeln('<link rel="stylesheet" type="text/css" href="css/' + StyleFile + '">');
</script>

<!--[if IE]>
<link rel="stylesheet" type="text/css" href="css/ie-sucks.css" />
<![endif]-->
</head>
<body>
<div id="container">
	<div id="header">       
      <div id="divAccount" style="float:right;">
        <a href="user/account.asp" style="color:white">Account</a>&nbsp;&nbsp;&nbsp;&nbsp;
        <a href="inc/logout.asp" style="color:white">Logout</a>
      </div>
	  <h2><% Easp.wc "Welcome to " & titleName %></h2>
	  <div id="topmenu">
			<ul>
				<li class="current"><a href="#">Home</a></li>
				<%
				   If Session("Authority")="0" Then 
				     Easp.wc "<li><a href='Country/index.asp'>Country</a></li>"
				   End if
				%>
				<li><a href="holiday/index.asp">Holiday</a></li>
				<li><a href="Times/index.asp">Times</a></li>
				<li><a href="wallboard/index.asp">WallBoard</a></li>
				<%				    
				    If (session("Authority")="0") Then 
				        Response.Write("<li><a href='user/index.asp'>User</a></li>")
				    End if
				%>
				<li><% If Session("Passed")=true Then %><a href="inc/logout.asp">Logout</a><% End If %></li>
			</ul>
		</div>
	</div>
	<div id="top-panel">
		<div id="panel">
			<ul>
				<li><a href="user/account.asp" class="report">Account</a></li>
				<li><a href="inc/logout.asp" class="report_seo">Logout</a></li>				
			</ul>
		</div>
	</div>
	<div id="wrapper">
		<div id="content">
			<div id="rightnow">
				<h3 class="reallynow"> 
					<span><% Easp.wc "Welcome to " & titleName %></span> 
					<br />
				</h3>	
				<table>
					<tr>
						<td style="border:0">
							<div id="loginbox" align="center" style="margin: 0 auto;">
					      <h3>Country Control</h3>
					      <form name="form" method="post" onSubmit="return false;">
						      <p>
						         Country Control Center
						      </p>
						      <div class="aline">
							      <input type="hidden" name="Customer" value="AP Customer Care" />
						      </div>
					 	      <p>
							      <input class="btn" type="submit" value="GO" onclick="top.location.href='Country/index.asp';" <% if Session("Authority")<>"0" then echo "disabled='disabled'" %>/>
						      </p>
					      </form>
				      </div>	
						</td>
						<td style="border:0">
						  <div id="loginbox" align="center" style="margin: 0 auto;">
					      <h3>Holiday Control</h3>
					      <form name="form" method="post" onSubmit="return false;">
						      <p>
						        Holiday Control Center
						      </p>
						      <div class="aline">
							      <input type="hidden" name="Customer" value="AP Customer Care" />
						      </div>
					 	      <p>
							      <input class="btn" type="submit" value="GO" onclick="top.location.href='Holiday/index.asp';" />
						      </p>
					      </form>
				      </div>
						</td>
						<td style="border:0">
							<div id="loginbox" align="center" style="margin: 0 auto;">
					      <h3>Times Control</h3>
					      <form name="form" method="post" onSubmit="return false;">
						      <p>
						        Times Control Center
						      </p>
						      <div class="aline">
							      <input type="hidden" name="Customer" value="AP Customer Care" />
						      </div>
					 	      <p>
							      <input class="btn" type="submit" value="GO" onclick="top.location.href='Times/index.asp';" />
						      </p>
					      </form>
				      </div>	
						</td>
					</tr>
				</table>					
			</div>
		</div>
	</div>
	<!--#include file="inc/footer.asp" -->
</div>
</body>
</html>

